import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 故障分类
 * */
// 创建
export const machinemanagerMachineInspectionCreate = (data) => postRequest('/machinemanager/machine-inspection/create', data);

// 更新
export const machinemanagerMachineInspectionUpdate = (data) => putRequest('/machinemanager/machine-inspection/update', data);

// 删除
export const machinemanagerMachineInspectionDelete = (params) => deleteRequest('/machinemanager/machine-inspection/delete', params);

// 获得
export const machinemanagerMachineInspectionGet = (params) => getRequest('/machinemanager/machine-inspection/get', params);

// 获得分页
export const machinemanagerMachineInspectionPage = (data) => postRequest('/machinemanager/machine-inspection/page', data);
// 获得我的任务分页
export const machinemanagerMachineInspectionMyJobPage = (data) => postRequest('/machinemanager/machine-inspection/myJob/page', data);
